<?php

namespace behavior;

use Config;
use think\facade;
use think\Loader;

class LoadBehavior
{
    public function run()
    {
        // 门面类注册
        Facade::bind(Config::get('facade.facade'));
        // 门面类别名注册
        Loader::addClassAlias(Config::get('facade.alias'));
    }
}